package com.gitease.quickhub.config;

import org.springframework.context.annotation.Configuration;
//import org.springframework.security.config.annotation.web.builders.HttpSecurity;
//import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
//import org.springframework.security.web.SecurityFilterChain;

@Configuration
//@EnableWebSecurity
public class SecurityConfig {

  //@Bean
  //public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
  //  http
  //      .csrf(csrf -> csrf.disable())
  //      .authorizeHttpRequests(authorize -> authorize
  //          .requestMatchers("/api/auth/login").permitAll()
  //          .requestMatchers("/api/auth/callback").permitAll()
  //          .requestMatchers("/h2-console/**").permitAll()
  //          .anyRequest().authenticated())
  //      .headers(headers -> headers.frameOptions().disable());
  //
  //  return http.build();
  //}
}